﻿#include "DelModelCmd.h"
#include "../util/JsonUtil.h"

DelModelCmd::DelModelCmd()
{
}

DelModelCmd::~DelModelCmd()
{
}

bool DelModelCmd::Parse(std::string json)
{
	JsonUtil jsonUtil;
	if (jsonUtil.Parse(json))
	{
		m_modelId = jsonUtil.GetString("modelId", "");
		return true;
	}
	return false;
}

std::string DelModelCmd::GetModelId()
{
	return m_modelId;
}